<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String url = request.getScheme() + "://" + request.getServerName()
			+ request.getRequestURI();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>" />
		<title>高级查询</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<%@ include file="/html/custom/header.jsp"%>
		<script type="text/javascript" src="<%=basePath%>/html/js/swss.srh.js">
		</script>
	</head>
	<body>
		<div id="content" style="min-width: 670px; width: 670px;">
			<div class="srh-box">
				<form id="srhForm" method="post"
					action="<s:property value="#request.searchURL" />" <s:if test="#request.searchType==0">target="res"</s:if><s:else>target="_parent"</s:else>>
					<input type="hidden" name="hql" />
				</form>
				<div class="t">
					<table>
						<tr>
							<td>
								比较项目
							</td>
							<td>
								条件
							</td>
							<td>
								比较值
							</td>
							<td></td>
							<td></td>
						</tr>
						<tr>
							<td>
								<select id="selItem" class="s1">

								</select>
							</td>
							<td>
								<select id="selCondition" class="s2">

								</select>

							</td>
							<td>
								<div id="inputs">
									<div id="custom-value">
										<input type="text" />

									</div>
									<div id="custom-date">
										<input type="text" />
									</div>
									<div id="between-value" class="betweenBox">
										<input type="text" />
										-
										<input type="text" />
									</div>
									<div id="between-date" class="betweenBox">
										<input type="text" />
										-
										<input type="text" />
									</div>
									<!-- 
								<input id="txtDept" type="text" readonly="readonly" name="dept"  />
								 -->
								</div>
							</td>
							<td>
								
							</td>
							<td>
							</td>
						</tr>
					</table>
				</div>
				<div class="b clearfix">
					<div class="info">
						<div class="ui-widget-header">
							<span class="td1">左</span>
							<span class="td2">逻辑关系</span>
							<span class="td3">比较项目</span>
							<span class="td2">条件</span>
							<span class="td4">比较值</span>
							<span class="td1">右</span>
						</div>
						<div id="list" class="list">
						</div>
					</div>
					<div class="op clearfix">
						<div class="cus" >
							<a href="javascript:;" class="btn" id="btnAdd">增加条件</a>
						</div>
						<div class="cdt" >
							<a href="javascript:;" class="btn" id="btnAddAnd">增加【并且】条件</a>
							<a href="#" class="btn" id="btnAddOr">增加【或者】条件</a>
						</div>

						<a href="#" class="btn" id="btnDel">删除条件</a>
					</div>
				</div>
				<div class="f" >
					<a id="btnSearch" href="#" class="btn">查询</a>
					<a id="btnClose" href="#" class="btn">取消</a>
				</div>
			</div>
		</div>
	</body>
</html>
